﻿@{
    ViewBag.Title = "部门管理";
    Layout = "~/Areas/Shared/_spListV1.cshtml";
    ViewBag.ListActionURL = Url.Action("DeptList", "DeptManage", new { area = "Admin" });
    ViewBag.AddActionURL = Url.Action("AddDept", "DeptManage", new { area = "Admin" });
    ViewBag.DelActionURL = Url.Action("DelDept", "DeptManage", new { area = "Admin" });
    ViewBag.EditActionURL = Url.Action("EditDept", "DeptManage", new { area = "Admin" });
    ViewBag.IdColumn = "DeptCode";
    ViewBag.NameColumn = "DeptName";
    ViewBag.ListSortName = "";
    ViewBag.ListSortOrder = "";
    ViewBag.AddWindowTitle = "添加部门";
    ViewBag.EditWindowTitle = "编辑部门";   
}
@model Kaiser.Models.Org
@section Script
{
    <script type="text/javascript">
        config.GridOption.columns = [[
					{ field: 'DeptCode', title: '部门标识', width: 80, sortable: true },
                    { field: 'DeptName', title: '部门名称', width: 90, sortable: true },
                    { field: 'Path', title: '组织机构路径', width: 90, sortable: false },
                    { field: 'Manager', title: '部门主管', width: 90, sortable: false },
                    { field: 'Remark', title: '备注', width: 90, sortable: false },
                    { field: 'Sequence', title: '排序', width: 90, sortable: true }
				]];
 
    </script>

}


<div  >
    <div id="Dlg-CategoryTree" style="width: 350px; height: 220px;">
        <ul class="easyui-tree" id="SelectCategoryTree">
        </ul>
    </div>
 
</div>

